package com.jia.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {

    @GetMapping("/add")
    public String add() {
        return "添加成功";
    }
    @GetMapping("/update")
    public String update() {
        return "修改成功";
    }
    @GetMapping("/delete")
    public String delete() {
        return "删除成功";
    }
    @GetMapping("/get")
    public String get() {
        return "查询成功";
    }
}
